package com.woniuxy.goods.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ...
 * @since 2024年05月22日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("process_model")
public class ProcessModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流程模型id
     */
    @ApiModelProperty("流程模型id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 流程id
     */
    @ApiModelProperty("流程id")
    @TableField("process_id")
    private Integer processId;

    /**
     * 状态名称
     */
    @ApiModelProperty("状态名称")
    @TableField("state_name")
    private String stateName;

    /**
     * 状态码
     */
    @ApiModelProperty("状态码")
    @TableField("state_num")
    private Integer stateNum;


}
